package com.yoso.controller;

import com.yoso.config.YosoConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shizejin
 * @date 2022/4/6
 * @description:
 */
@RestController
public class ConfigController {
    @Autowired
    private YosoConfig config;
    @GetMapping("/yosoConfig")
    public YosoConfig getDate(){
        return config;
    }
}
